package com.pan.hisystem.mapper;

import com.pan.hisystem.pojo.Role;
import com.pan.hisystem.pojo.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author qingyang
 * @since 2022-03-02
 */
@Repository
public interface UserRoleMapper extends BaseMapper<UserRole> {


    int updateUserWithRole(Integer uid, List<Integer> rids, LocalDateTime createTime);
}
